package com.dtagri.fjwlw.bean.tdvideo;

import com.android.nvssdklib.PublicDefine;




public class cls_Channel{
	private int m_iChannelID;	//主键；通道ID
	private int m_iHostID;		//主机ID
	private int m_iRecommendID;	//推荐配置ID
	private int m_iChannelNo;	//通道编号
	private String m_strChannelName; //通道名称
	private String m_strProtocol;		//协议名称（9600，8,0）
	private int m_iControlAddress;	//控制串口地址
	private int m_iComNumber;		//端口号
	private int m_iControlStep;		//控制步长
	private int m_iRecTime;			//录像间隔 
	private int m_iPTZType;			//云台控制协议
	private int m_iStreamNo;		//连接视频的视频类型：主码流、子码流
	
	public cls_Channel()
	{
		m_iComNumber = 1;
		m_iControlAddress = 1;
		m_iPTZType = PublicDefine.DOME_TIANDY;
		m_strProtocol = "9600";
	}
	
	public int getChannelID() 
	{
		return m_iChannelID;
	}
	public int getHostID() {
		return m_iHostID;
	}
	public int getRecommendID() {
		return m_iRecommendID;
	}
	public int getChannelNo() {
		return m_iChannelNo;
	}
	public String getChannelName() {
		return m_strChannelName;
	}
	public String getProtocol() {
		return m_strProtocol;
	}
	public int getControlAddress() {
		return m_iControlAddress;
	}
	public int getComNumber() {
		return m_iComNumber;
	}
	public int getControlStep() {
		return m_iControlStep;
	}
	public int getRecTime() {
		return m_iRecTime;
	}
	public int getStreamNo(){
		return m_iStreamNo;
	}
	public void setChannelID(int _iChannelID) {
		this.m_iChannelID = _iChannelID;
	}
	public void setHostID(int _iHostID) {
		this.m_iHostID = _iHostID;
	}
	public void setRecommendID(int _iRecommendID) {
		this.m_iRecommendID = _iRecommendID;
	}
	public void setChannelNo(int _iChannelNo) {
		this.m_iChannelNo = _iChannelNo;
	}
	public void setChannelName(String _strChannelName) {
		this.m_strChannelName = _strChannelName;
	}
	public void setProtocol(String _strProtocol) {
		this.m_strProtocol = _strProtocol;
	}
	public void setControlAddress(int _iControlAddress) {
		this.m_iControlAddress = _iControlAddress;
	}
	public void setComNumber(int _iComNumber) {
		this.m_iComNumber = _iComNumber;
	}
	public void setControlStep(int _iControlStep) {  
		this.m_iControlStep = _iControlStep;
	}
	public void setRecTime(int _iRecTime) {
		this.m_iRecTime = _iRecTime;
	}
	public int getPTZType() {
		return m_iPTZType;
	}
	public void setPTZType(int _iPTZType) {
		this.m_iPTZType = _iPTZType;
	}
	public void SetStreamNo(int _iStreamNo){
		this.m_iStreamNo = _iStreamNo;
	}
	
}
